import java.util.Scanner;

public class In {
    public static void main(String[] args) {
        Scanner input=new Scanner(System.in);
        System.out.println("请输入英寸数");
        int i=input.nextInt();
        System.out.println("i="+i+"in");
       int a=1;
       double b=2.54;
       double c=b/a;
        System.out.println("倍数c="+c+"倍");
        double f=i/c;
        System.out.println("用厘米表示为"+f+"厘米");

    }
}
